package Java.view.game.doudizhurule;

import java.util.Comparator;

class ValueComparator implements Comparator<String> {
    @Override
    public int compare(String str1, String str2) {
        int value1 = PokeGroup.getValue(str1);
        int value2 = PokeGroup.getValue(str2);
        return Integer.compare(value2, value1);
    }
}
